# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo04
# Description:
# Author:       98745
# Date:         2019/3/7
#-------------------------------------------------------------------------------

import re
s='bin.'
m=re.search(s,'bind')
if m is not None:
    print(m.group())
print(m)

m=re.search(s,'<bind>')
print(m.group())
print(m)

s1='3.14'
s2='3\.14'
m=re.match(s1,'3.14')
print(m)
m=re.match(s1,'3314')
print(m)

m=re.match(s2,'3.14')
print(m)
m=re.match(s2,'3314')
print(m)